﻿using System;
using System.ComponentModel;
using System.Xml.Serialization;
using DevExpress.Xpo;
using DevExpress.Xpo.Metadata;
using DevExpress.Xpo.Helpers;
using DevExpress.Data.Filtering;
using DevExpress.ExpressApp;
using DevExpress.Persistent.Base;
using DevExpress.Persistent.BaseImpl;
using DevExpress.Persistent.Validation;
namespace Top.Module.Domain
{
    [DefaultClassOptions]
    [Persistent("TopRefund")]
    public class Refund : BaseObject
    {
        //begin
        public Refund()
        {}
        public Refund(Session session) : base(session)
        {}
        public override void AfterConstruction(){base.AfterConstruction();}

        private string _ShippingType;
        public string ShippingType
        {
            get
            {
                return _ShippingType;
            }
            set
            {
                SetPropertyValue("ShippingType", ref _ShippingType, value);
            }
        }
        private string _RefundId;
        public string RefundId
        {
            get
            {
                return _RefundId;
            }
            set
            {
                SetPropertyValue("RefundId", ref _RefundId, value);
            }
        }
        private string _Tid;
        public string Tid
        {
            get
            {
                return _Tid;
            }
            set
            {
                SetPropertyValue("Tid", ref _Tid, value);
            }
        }
        private string _OrderId;
        public string OrderId
        {
            get
            {
                return _OrderId;
            }
            set
            {
                SetPropertyValue("OrderId", ref _OrderId, value);
            }
        }
        private string _AlipayNo;
        public string AlipayNo
        {
            get
            {
                return _AlipayNo;
            }
            set
            {
                SetPropertyValue("AlipayNo", ref _AlipayNo, value);
            }
        }
        private string _TotalFee;
        public string TotalFee
        {
            get
            {
                return _TotalFee;
            }
            set
            {
                SetPropertyValue("TotalFee", ref _TotalFee, value);
            }
        }
        private string _BuyerNick;
        public string BuyerNick
        {
            get
            {
                return _BuyerNick;
            }
            set
            {
                SetPropertyValue("BuyerNick", ref _BuyerNick, value);
            }
        }
        private string _SellerNick;
        public string SellerNick
        {
            get
            {
                return _SellerNick;
            }
            set
            {
                SetPropertyValue("SellerNick", ref _SellerNick, value);
            }
        }
        private DateTime _Created;
        public DateTime Created
        {
            get
            {
                return _Created;
            }
            set
            {
                SetPropertyValue("Created", ref _Created, value);
            }
        }
        private DateTime _Modified;
        public DateTime Modified
        {
            get
            {
                return _Modified;
            }
            set
            {
                SetPropertyValue("Modified", ref _Modified, value);
            }
        }
        private string _OrderStatus;
        public string OrderStatus
        {
            get
            {
                return _OrderStatus;
            }
            set
            {
                SetPropertyValue("OrderStatus", ref _OrderStatus, value);
            }
        }
        private string _Status;
        public string Status
        {
            get
            {
                return _Status;
            }
            set
            {
                SetPropertyValue("Status", ref _Status, value);
            }
        }
        private string _GoodStatus;
        public string GoodStatus
        {
            get
            {
                return _GoodStatus;
            }
            set
            {
                SetPropertyValue("GoodStatus", ref _GoodStatus, value);
            }
        }
        private bool _HasGoodReturn;
        public bool HasGoodReturn
        {
            get
            {
                return _HasGoodReturn;
            }
            set
            {
                SetPropertyValue("HasGoodReturn", ref _HasGoodReturn, value);
            }
        }
        private string _RefundFee;
        public string RefundFee
        {
            get
            {
                return _RefundFee;
            }
            set
            {
                SetPropertyValue("RefundFee", ref _RefundFee, value);
            }
        }
        private string _Payment;
        public string Payment
        {
            get
            {
                return _Payment;
            }
            set
            {
                SetPropertyValue("Payment", ref _Payment, value);
            }
        }
        private string _Reason;
        public string Reason
        {
            get
            {
                return _Reason;
            }
            set
            {
                SetPropertyValue("Reason", ref _Reason, value);
            }
        }
        private string _Desc;
        [Size(SizeAttribute.Unlimited)]
        public string Desc
        {
            get
            {
                return _Desc;
            }
            set
            {
                SetPropertyValue("Desc", ref _Desc, value);
            }
        }
        private string _Iid;
        public string Iid
        {
            get
            {
                return _Iid;
            }
            set
            {
                SetPropertyValue("Iid", ref _Iid, value);
            }
        }
        private string _Title;
        public string Title
        {
            get
            {
                return _Title;
            }
            set
            {
                SetPropertyValue("Title", ref _Title, value);
            }
        }
        private string _Price;
        public string Price
        {
            get
            {
                return _Price;
            }
            set
            {
                SetPropertyValue("Price", ref _Price, value);
            }
        }
        private long _Num;
        public long Num
        {
            get
            {
                return _Num;
            }
            set
            {
                SetPropertyValue("Num", ref _Num, value);
            }
        }
        private DateTime _GoodReturnTime;
        public DateTime GoodReturnTime
        {
            get
            {
                return _GoodReturnTime;
            }
            set
            {
                SetPropertyValue("GoodReturnTime", ref _GoodReturnTime, value);
            }
        }
        private string _CompanyName;
        public string CompanyName
        {
            get
            {
                return _CompanyName;
            }
            set
            {
                SetPropertyValue("CompanyName", ref _CompanyName, value);
            }
        }
        private string _Sid;
        public string Sid
        {
            get
            {
                return _Sid;
            }
            set
            {
                SetPropertyValue("Sid", ref _Sid, value);
            }
        }
        private string _Address;
        public string Address
        {
            get
            {
                return _Address;
            }
            set
            {
                SetPropertyValue("Address", ref _Address, value);
            }
        }
        private RefundRemindTimeout _RefundRemindTimeout;
        public RefundRemindTimeout RefundRemindTimeout
        {
            get
            {
                return _RefundRemindTimeout;
            }
            set
            {
                SetPropertyValue("RefundRemindTimeout", ref _RefundRemindTimeout, value);
            }
        }
        private string _NumIid;
        public string NumIid
        {
            get
            {
                return _NumIid;
            }
            set
            {
                SetPropertyValue("NumIid", ref _NumIid, value);
            }
        }
        //end
    }
}
